from selenium import webdriver
from Page.Page import Page
import unittest,time

class TestCase(unittest.TestCase):
    def setUp(self):
        self.driver = webdriver.Edge()
        self.driver.maximize_window()

    def tearDown(self):
        time.sleep(3)
        self.driver.quit()

    def test_Jiuxian_01_login(self):
        po = Page(self.driver)
        po.luoji_Jiuxian_login()

    def test_Jiuxian_02_search(self):
        po = Page(self.driver)
        po.luoji_Jiuxian_search()

    def test_Jiuxian_03_wode(self):
        po = Page(self.driver)
        po.luoji_Jiuxian_wode()

if __name__ == '__main__':
    unittest.main()